package com.sunwayworld.basemodule.framework.resource;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

@RequestMapping("/open")
public interface ThirdPushResource {

    /**
     * 普通摄像头拍照，并上传图片
     */
    @RequestMapping(value = "/post/{businessCode}/file", method = RequestMethod.POST)
    void postFile(@PathVariable("businessCode") String businessCode, @RequestParam("ids") String ids, @RequestParam("base64")String base64,
                  @RequestParam(value="bizCategory", required=false)String bizCategory);

}
